#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <From/algtestform.h>
#include <From/dataform.h>
#include <From/mainform.h>
#include <From/setplansform.h>
#include <From/systemform.h>
#include <From/versionsform.h>


QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void initializePage();

    void SwitchFrom(int index);
public slots:
    void appQuit();
private slots:
    void on_Bt_main_clicked();

    void on_Bt_plan_clicked();

    void on_Bt_debug_clicked();

    void on_Bt_information_clicked();

    void on_Bt_system_clicked();

    void on_Bt_versions_clicked();

    void on_Bt_info_clicked();

private:
    Ui::MainWindow *ui;

    QWidget* qFrom;
    MainForm* m_pMain;
    SetPlansForm* m_pSetPlans;
    VersionsForm* m_pVersions;
    SystemForm* m_pSystem;
    DataForm* m_pData;
    AlgTestForm* m_pAlgTest;
};
#endif // MAINWINDOW_H
